<template>
  <div>
    <h2>学生姓名: {{ name }}</h2>
    <h2>学生性别: {{ gender }}</h2>
    <input type="text" v-fBind="name" />
  </div>
</template>

<script>
export default {
  name: "student-name",
  data() {
    return {
      name: "张三",
      gender: "男",
    };
  },
};
</script>
